package com.fingard.dsp.bank.reqrespobj.batchbill.detail;


import com.fingard.xml.XElement;


/**
 * Created by F on 2019/10/21.
 */
public class ReqBatOpenBillSubmitDetail {
    /**
     * 银行票据编号
     */
    public String billNum ="";
    /**
     * 票据金额
     */
    public String billAmt ="";
    /**
     * 票据币种
     */
    public String billCur ="";
    /**
     * 出票日
     */
    public String issDate ="";
    /**
     * 到期日
     */
    public String dueDate ="";
    /**
     * 合同号
     */
    public String contractNo ="";
    /**
     * 发票号码
     */
    public String invoiceNo ="";
    /**
     * 转让标识
     */
    public String transFlag ="";
    /**
     * 无条件兑付承诺标识
     */
    public String mustPay ="";
    /**
     * 备注
     */
    public String memo ="";
    /**
     * 承兑人名称
     */
    public String accpName ="";
    /**
     * 承兑人账号
     */
    public String accpAct ="";
    /**
     * 承兑人组织
     */
    public String accpCode ="";
    /**
     * 承兑人开户行名称
     */
    public String accpBnkName ="";
    /**
     * 承兑人开户行行号
     */
    public String accpBnkCode ="";
    /**
     * 收票人名称
     */
    public String payeeName ="";
    /**
     * 收票人账号
     */
    public String payeeAct ="";
    /**
     * 收票人开户行名称
     */
    public String payeeBnkName ="";
    /**
     * 收票人开户行行号
     */
    public String payeeBnkCode ="";
    /**
     * 是否同行
     */
    public String payeeSameBnk ="";
    /**
     * 批内流水
     */
    public String postScript ="";
    /**
     * 备用3
     */
    public String reqReserve3 ="";
    /**
     * 备用4
     */
    public String reqReserve4 ="";

    public ReqBatOpenBillSubmitDetail(XElement p_element) throws Exception{
        billNum = p_element.getSingleText("BillNum");
        billAmt = p_element.getSingleText("BillAmt");
        billCur = p_element.getSingleText("BillCur");
        issDate = p_element.getSingleText("IssDate");
        dueDate = p_element.getSingleText("DueDate");
        contractNo = p_element.getSingleText("ContractNo");
        invoiceNo = p_element.getSingleText("InvoiceNo");
        transFlag = p_element.getSingleText("TransFlag");
        mustPay = p_element.getSingleText("MustPay");
        memo = p_element.getSingleText("Memo");
        accpName = p_element.getSingleText("AccpName");
        accpAct = p_element.getSingleText("AccpAct");
        accpCode = p_element.getSingleText("AccpCode");
        accpBnkName = p_element.getSingleText("AccpBnkName");
        accpBnkCode = p_element.getSingleText("AccpBnkCode");
        payeeName = p_element.getSingleText("PayeeName");
        payeeAct = p_element.getSingleText("PayeeAct");
        payeeBnkName = p_element.getSingleText("PayeeBnkName");
        payeeBnkCode = p_element.getSingleText("PayeeBnkCode");
        payeeSameBnk = p_element.getSingleText("PayeeSameBnk");
        postScript = p_element.getSingleText("PostScript");
        reqReserve3 = p_element.getSingleText("ReqReserve3");
        reqReserve4 = p_element.getSingleText("ReqReserve4");
    }


}
